package com.woniu.feign;

import com.woniu.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 杨光 微信号:tolryg
 * @time 16:40
 */
@FeignClient("user")
public interface UserFeignClient {
    @RequestMapping("feign/findByUserAccountAndPassword")
    public User findByUserAccountAndPassword(
            @RequestParam("userAccount") String userAccount,
            @RequestParam("password") String password

    );
}
